package com.xueshishasha.oa.controller
{
	import com.adobe.cairngorm.control.FrontController;
	import com.xueshishasha.oa.business.Command.EmployeeLoginCommand;
	import com.xueshishasha.oa.business.Command.GetAllEmployeeCommand;
	

	public class OAFrontController extends FrontController
	{
		public static const EMPLOYEE_LOGIN_EVENT:String = "EMPLOYEE_LOGIN_EVENT";
		public static const GET_ALL_EMPLOYEE_EVENT:String = "GET_ALL_EMPLOYEE_EVENT";
		
		public function OAFrontController()
		{
			super();
			this.addCommand(EMPLOYEE_LOGIN_EVENT,EmployeeLoginCommand);//注册Event和Command的对应关系
			this.addCommand(GET_ALL_EMPLOYEE_EVENT,GetAllEmployeeCommand);//注册Event和Command的对应关系
		}
		
	}
}